package com.kf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author RenYuXin
 * 2019/11/28 10:04
 * User用户表
 */
@Data
@TableName("user")
public class User {
    /**
     * 用户id
     */
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;
    /**
     * 用户名称
     */
    @TableField(value = "user_name")
    private String userName;
    /**
     * 手机号码
     */
    @TableField(value = "user_phone")
    private String userPhone;
    /**
     * 居住地址
     */
    @TableField(value = "user_address")
    private String userAddress;
    /**
     * 启用状态
     */
    @TableField(value = "user_enabled")
    private Integer userEnabled;
    /**
     * 用户名
     */
    @TableField(value = "user_username")
    private String userUsername;
    /**
     * 密码
     */
    @TableField(value = "user_password")
    private String userPassword;
    /**
     * 部门外键
     */
    @TableField(value = "user_department_id")
    private Integer userDepartmentId;
    /**
     * 头像
     */
    @TableField(value = "user_faceimg")
    private String userFaceimg;
    /**
     * 备注
     */
    @TableField(value = "user_remark")
    private String userRemark;
    /**
     * 预留字段1
     */
    @TableField(value = "user_exit1")
    private String userExit1;
    /**
     * 预留字段2
     */
    @TableField(value = "user_exit2")
    private Integer userExit2;
}
